package com.sskj.lib;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * 界面之间传递参数
 * 声明的常量
 */
public class Constans {
    public static final String TYPE = "type";
    public static final String SIGN_IN = "sign_in";
    public static final String REGISTER = "register";
    public static final String FORGET_NAME = "forget_name";
    public static final String FORGET_PWD = "forget_pwd";
    public static final String RESET_PWD = "reset_pwd";
    public static final String LEVEL = "level";
    public static final String BTC = "btc";
    public static final String ETH = "eth";
    public static final int SACN_QR = 1104;
    public static final String COIN_BEAN = "coinBean";
    public static final String WORDS = "words";
    public static final String DATA = "data";
    public static final String IS_CREATE = "isCreate";
    public static final String IS_FIRST = "isFirst";
    public static final String IS_LOGOUT = "isLogout";
    public static final String PUSH_CODE = "pushCode";
    public static final String IS_ME = "isMe";
    public static final String TWO_FACTOR = "two_factor";
    /*身份认证状态*/
    public static final String CERTIFICATION_STATUS = "certificationResult";
    public static final int CERTIFICATION_LOADING = 2;
    public static final int CERTIFICATION_SUCCESS = 3;
    public static final int CERTIFICATION_FAIL = 4;
    public static final String LANGUAGE_CNA = "zh_CN";
    public static final String LANGUAGE_TRA = "zh_TW";
    public static final String LANGUAGE_EN = "en";
    public static final String SHARE_WECHAT = "0";
    public static final String SHARE_QQ = "1";
    public static final String SHARE_PENGYOUQUAN = "2";
    public static final String ADDRESS_TYPE = "addressType";
    public static final String ADDRESS_BTC = "1";
    public static final String ADDRESS_ETH = "2";
    public static final String ADDRESS_LTC = "3";
    public static final String ADDRESS_AICASH = "4";
    public static final String ADDRESS_USDT = "5";
    public static final int QUCIK_BACK = 1001;
    public static final String ZHUANRU = "1";
    public static final String ZHUANCHU = "2";
    public static final String JBSX = "10";
    public static final String CLTZ = "11";
    public static final String SHANDUI = "12";

    public static final String WITHDRAW = "cash";
    public static final String RECHARGE = "recharge";
    public static final String RECORD_TYPE = "recordType";
    public static final String RECORD_ID = "recordId";

    public static final String BOOMHASH = "boomHash";
    public static final String DEFAULT_BIBI_COIN = "look";
    public static final String IDENTITY_IDCARD = "identityCardId";
    public static final String IDENTITY_NAME = "identityName";
    public static final String BILL_ID = "billId";
    public static final String WEB_URL = "webUrl";
    public static final String FUNCTIONS_JBSX = "jbsx";
    public static final String FUNCTIONS_CLTZ = "cltz";
    public static final String ZYCP = "zycp";
    public static final String CURRENEY = "currency";
    public static final int HETONG = 1004;
    public static String LANGUAGE = "language";  // 当前用户选择语言
    public static String RATE = "rate";
    private static final String COIN_BCH = "BCH";
    public static final String MXT_SEND = "mxt_send";
    public static final String MXT_DELINEATE = "1";
    public static final String MXT_DELIMIT = "2";
    public static final int MXT_ID = 1100;
    public static final int BANK_ID = 1101;
    public static final int PASSWORD_ID = 1102;
    public static final int ADDRESS_ID = 1103;
    public static final int size = 10;

    public static final String BANK_SEE = "bank_see";
    public static final String BANK_CHOOSE = "bank_choose";
    //法币入金 虚拟入金
    public static final String CASH_BANK = "1";
    public static final String CASH_BTC = "2";
    public static final String CASH_ETH = "3";
    public static final String CASH_EMAIL = "4";
    //单位
    public static String DANWEI = "$";

    //钱包赠送方式
    public static final String SEND_TYPE = "send_type";
    public static final String SEND_EMAIL = "1";
    public static final String SEND_MOBILE = "2";
    public static final String SEND_WALLET = "3";


    public static final String COIN_CODE = "coinCode";
    public static final String COIN_GOODS = "coinGoods";
    public static final String COIN_ISMINUTE = "coinIsMinute";
    //币种
    public static final String COIN_BTC = "BTC";
    public static final String COIN_ETH = "ETH";
    public static final String COIN_MCAD = "MCAD";
    public static final String COIN_CUSD = "CUSD";
    public static final String COIN_MPC = "MPC";
    public static final String COIN_MXT = "MXT";
    public static final String COIN_LTC = "LTC";
    public static final String COIN_AICASH = "AICASH";
    public static final String COIN_USDT = "USDT";
    public static final String COIN_CNY = "CNY";
    //币种ID
    public static final String COIN_BTC_ID = "1";
    public static final String COIN_ETH_ID = "2";
    public static final String COIN_CUSD_ID = "3";
    public static final String COIN_MCAD_ID = "4";
    public static final String COIN_MPC_ID = "5";
    public static final String COIN_MXT_ID = "6";
    /*钱包类型*/
    public static final String WALLET_TYPE = "walletType";
    public static final String WALLET_ALL = "1";
    public static final String WALLET_HUOQI = "3";
    public static final String WALLET_JIEDAI = "2";
    public static final String WALLET_LIANGHUA = "4";
    public static final String WALLET_DAPP = "5";

    public static final List<String> coins = coinNames();
    public static final HashMap<String, String> coinIDs = coinIDs();
    public static final HashMap<String, Integer> icons = coinIcons();
    public static final HashMap<String, Integer> circleIcons = coinCircleIcons();
    public static final String IS_GIFT = "isGift";
    public static final String REFERRAL = "referral";
    public static final String EMAIL = "email";
    public static final String USER_NAME = "user_name";
    public static final String REGISTER_PWD = "register_pwd";
    //发送短信类型
    public static final String SMS_REGISTER = "1";
    public static final String SMS_RESET = "2";
    public static final String SMS_SAFE = "3";
    public static final String SMS_CODE = "sms_code";
    public static final String PASSWORD = "password";
    public static final String IS_RECHARGE = "isRecharge";
    public static final String COIN_TYPE = "coinType";
    public static String firstname = "firstname";
    public static String lasttname = "lasttname";
    public static String birth = "birth";
    public static String ssn = "ssn";
    public static String address = "address";
    public static String city = "city";
    public static String state = "state";
    public static String zipcode = "zipcode";
    public static String country = "country";

    private static List<String> coinNames() {
        List<String> coins = new ArrayList<>();
        coins.add(Constans.COIN_BTC);
        coins.add(Constans.COIN_ETH);
        coins.add(Constans.COIN_MCAD);
        coins.add(Constans.COIN_CUSD);
        coins.add(Constans.COIN_MPC);
        coins.add(Constans.COIN_MXT);
        return coins;
    }


    private static HashMap<String, String> coinIDs() {
        HashMap<String, String> map = new HashMap<>();
        map.put(Constans.COIN_BTC, Constans.COIN_BTC_ID);
        map.put(Constans.COIN_ETH, Constans.COIN_ETH_ID);
        map.put(Constans.COIN_MCAD, Constans.COIN_MCAD_ID);
        map.put(Constans.COIN_CUSD, Constans.COIN_CUSD_ID);
        map.put(Constans.COIN_MPC, Constans.COIN_MPC_ID);
        map.put(Constans.COIN_MXT, Constans.COIN_MXT_ID);
        return map;
    }

    private static HashMap<String, Integer> coinIcons() {
        HashMap<String, Integer> map = new HashMap<>();
        map.put(Constans.COIN_BTC, R.mipmap.icon_btc);
        map.put(Constans.COIN_ETH, R.mipmap.icon_eth);
        map.put(Constans.COIN_BCH, R.mipmap.icon_bch);
        map.put(Constans.COIN_MCAD, R.mipmap.icon_mcad);
        map.put(Constans.COIN_CUSD, R.mipmap.icon_cusd);
        map.put(Constans.COIN_MPC, R.mipmap.icon_mpc);
        map.put(Constans.COIN_MXT, R.mipmap.icon_mxt);
        return map;
    }

    private static HashMap<String, Integer> coinCircleIcons() {
        HashMap<String, Integer> map = new HashMap<>();
        map.put(Constans.COIN_BTC, R.mipmap.icon_circle_btc);
        map.put(Constans.COIN_ETH, R.mipmap.icon_circle_eth);
        map.put(Constans.COIN_MCAD, R.mipmap.icon_circle_mcad);
        map.put(Constans.COIN_CUSD, R.mipmap.icon_circle_cusd);
        map.put(Constans.COIN_MPC, R.mipmap.icon_circle_mpc);
        map.put(Constans.COIN_MXT, R.mipmap.icon_circle_mxt);
        return map;
    }

    /**
     * 相机权限
     */
    public static final int PERMISSION_REQUEST_CAMERA = 2000;

    public static final String USER_ID = "userId";
    public static final String CODE = "code";
    public static final String TIME_CYCLE = "timeCycle";
    public static final String IS_CANDLE = "isCandle";
    public static final String POS = "pos";
    public static final String IS_WITHDRAW = "isWithDraw";
    public static final String IS_ADD = "isAdd";
    public static final String PAY_ID = "payId";
    public static final String INIT_POS = "initPos";
    public static final String ORDER_NUM = "orderNum";
    public static final String ENTRUST_NUM = "entrustNum";
    public static final String IS_AREA = "isArea";
    public static final String IS_BUY = "isBuy";
    public static final String ACCOUNT = "account";
    public static final String MONEY = "money";
    public static final String GOOD_TYPE = "goodType";
    public static final String IS_SLIDE = "isSlide";
    public static final String CONTENT = "content";
    public static final String TIME = "time";
    public static final String TITLE = "title";
    public static final String URL = "url";
    public static final String HEAD = "head";
    public static final String CHANGE_TYPE = "type";
    public static final String LOGIN_TYPE = "0";
    public static final String PAY_TYPE = "1";
    public static final String SPREAD_TYPE = "spread_type";
    public static final String ADR_TYPE = "add_type";
    public static final String ADR_NAME = "adr_name";
    public static final String ADR_TEL = "adr_tel";
    public static final String ADR_PROVICE = "adr_provice";
    public static final String ADR_CITY = "adr_city";
    public static final String ADR_AREA = "adr_area";
    public static final String ADR_DETAIL = "adr_detail";
    public static final String ADR_ID = "adr_id";
    public static final String PAY_EDIT_TYPE = "2";
    public static final String FENGHUANGBI = "fenghangbi";
    public static final String SPREAD_TYPE_ID = "spread_type_id";
    public static final String ORDER_ID = "order_id";
    public static final int DRAGON_OVER = 4;//抢购结束
    public static final int DRAGON_YUE = 1;//预约
    public static final int DRAGON_WAIT = 2;//抢购倒计时（前10分钟）
    public static final int DRAGON_START = 3;//抢购
    public static final String POLL_ID = "poll_id";
    public static final int BUY = 0;
    public static final int SELL = 1;
    public static final String GOU_HUI = "gouhui";
    public static final String JIE_HUI = "jiehui";
    public static final String TRANSFER_OUT = "transfer_out";
    public static final String TRANSFER_IN = "transfer_in";
    public static final String DIVIDEND_TODY = "dividend_today";
    public static final String DIVIDEND_HISTORY = "dividend_history";
    public static final String BUY_DOWN = "2";
    public static final String BUY_UP = "1";
    public static final String GOUHUI_WECHAT = "1";
    public static final String GOU_HUI_ALIPAY = "2";
    public static final String GOUHUI_BANK = "3";

    public static String INTENT_NOTICE_ID = "intent_notice_id";
    /**
     * 非买五卖五的推送
     */
    public static final String NO_FIVE_PUSH = "vb_ticke_chanKey";
    public static final String FIVE_PUSH = "vb_depth_chanKey";
    public static final String PHONE = "phone";
    public static final String USABLEFUND = "usableFund";
    public static final String ID = "id";

    /**
     * 法币交易
     */
    public static final String FABITYPE = "fabiType";
    public static final String FABIMERCHANTTYPE = "fabiMerchantType";

    /**
     * 实名初级认证状态 2-审核中 ， 3-已认证， 4-认证失败
     */
    public static String SP_REALNAME_STATUS = "SP_REALNAME_STATUS";

    /**
     * 实名高级认证状态 2-审核中 ， 3-已认证， 4-认证失败
     */
    public static String SP_REALNAME_STATUS_HIGH = "SP_REALNAME_STATUS_HIGH";

    public static String ENTER_PASSCODE = "Enter New Passcode";
    public static String REENTER_PASSCODE = "Re-enter Passcode";


}
